//
//  ZyqTextField.swift
//  MHPriceCaculator
//
//  Created by allen on 2017/8/21.
//  Copyright © 2017年 allen. All rights reserved.
//

import UIKit

class ZyqTextField: UITextField {

    override init(frame: CGRect) {
        super.init(frame: frame)
        self.keyboardType = .numberPad
        self.borderStyle = .line
        self.textColor = UIColor.black
        self.font = UIFont.systemFont(ofSize: 14)
        self.clearButtonMode = .always
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

}
